﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using smsg_DAL;

namespace smsgs_MVC3.Areas.Messages.Models
{
    public class MessageView
    {
        public MessageView(IUserString user)
        {
            User = user;
        }
        public IUserString User;
        public IUserMessage<IUser<string>, string> TheMessage;
        public void Load(long id)
        {
            TheMessage=User.FindMessage(id, true);
        }
    }
}